package com.example.alilive.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Title:
 * @Description:
 * @author: cc
 * @Date: 2020/3/3 11:21
 **/
@Data
@Component
public class AliyunLiveConfigInfo {

    // 推流域名
    @Value("${liyunlive.push-stream-domain}")
    String pushStreamDomain;
    // 拉流域名
    @Value("${liyunlive.play-stream-domin}")
    String playStreamDomin;
    // 应用名称
    @Value("${liyunlive.app-name}")
    String appName;
    @Value("${liyunlive.stream-name-inside}")
    String streamNameInside;
    @Value("${liyunlive.stream-name-outside}")
    String streamNameOutside;
    // 拉流签名key
    @Value("${liyunlive.auth-key}")
    String authKey;
    // 签名url有效时间
    @Value("${liyunlive.valid-time}")
    Integer validTime;


}
